//主界面布局CSS

.app-aside, .app-aside-right {
  transition: width 0.28s;
}

.el-menu {
  .el-menu-item {
    min-width: 0 !important;
  }
  .el-menu-item, .el-submenu__title {
    height: 50px;
    line-height: 50px;
  }
  .el-submenu {
    .el-menu-item {
      height: 40px;
      line-height: 40px;
    }
  }
  .nest-menu {
    .el-submenu__title {
      height: 40px;
      line-height: 40px;
    }
  }
  .el-menu-item:before, .el-submenu__title:before {
    content: '';
    background-color: transparent;
    width: 5px;
    height: 100%;
    position: absolute;
    left: 0;
  }
  .el-submenu.is-active:before, .el-menu-item.is-active:before {
    background-color: #409EFF;
  }
  i.fa {
    color: currentColor;
    vertical-align: middle;
    margin-left: -3px;
    margin-right: 8px;
    font-size: 16px;
  }
  .svg-icon {
    margin-left: -3px;
    margin-right: 8px;
    font-size: 16px;
  }
}

.el-menu--popup {
  .el-menu-item {
    height: 40px;
    line-height: 40px;
  }
  .el-submenu.is-active {
    .el-submenu__title:before {
      background-color: #409EFF;
    }
  }
  .svg-icon {
    margin-right: 10px !important;
  }
  i.fa {
    margin-right: 10px !important;
  }
}

.el-menu--collapse {
  .el-submenu.is-active {
    .el-submenu__title:before {
      background-color: #409EFF;
    }
  }
}

.el-menu--collapse .el-submenu > .el-submenu__title {
  span, i.el-icon-arrow-right {
    height: 0;
    width: 0;
    overflow: hidden;
    visibility: hidden;
  }
}

//适配移动端
.mobile {
  .app-aside {
    position: absolute;
    height: 100%;
    z-index: 2199;
  }
}